@use 'sass:map';

// 岗位管理 操作 弹窗
.systemPostOption-form {
  :global {
    .el-select {
      width: 100%;
    }
  }
}

// 图片缩略图尺寸
.image-thumbnail {
  width: 80px;
  height: 80px;
}

// 切换图标的样式
.choose-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 120px;
  margin-bottom: 10px;

  :global {
    .el-icon {
      font-size: map.get($font-size, 'large') * 2;
    }
  }
}

// 修改用户管理tag宽度

.system-user-role-tag :global(.el-tag__content) {
  max-width: 150px;
}

.system-user-dept-tag :global(.el-tag__content) {
  max-width: 118px;
}

.system-user-role-tag,
.system-user-dept-tag {
  padding-top: 4px;
  padding-bottom: 4px;
  height: auto;

  :global(.el-tag__content) {
    word-wrap: break-word;
    white-space: pre-line;
  }
}
